-- GENERATED SPELL FOR [Swampwalker Elder] --


function spell0_765(pUnit, Event) --@Wild Regeneration,Self--
pUnit:FullCastSpellOnTarget(9616,pUnit)
pUnit:RegisterEvent('Sorts_765', 23000, 1)
end

function Sorts_765(pUnit, Event)
local choix_sorts_765 = math.random(0, 0)
if choix_sorts_765 == 0 then
pUnit:RegisterEvent('spell0_765', 1, 1)
end
end

function mob765_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_765', math.random(1500, 3000), 1)
end

function mob765_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob765_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob765_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(765, 1, 'mob765_Action')
RegisterUnitEvent(765, 2, 'mob765_Leave')
RegisterUnitEvent(765, 3, 'mob765_Kill')
RegisterUnitEvent(765, 4, 'mob765_Die')
